package com.wn.serviceLa.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wn.dal.entity.Book;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wnlqy
 * @since 2023-04-26 01:17:36
 */
public interface BookService extends IService<Book> {

    List<Book> topN(Integer n);

    Page<Book> pageOftype(Long current, Long size, Integer typeId);
}
